<section class="main-content">
    <div class="main-content__inner">
        <div class="main-content__right">  
            <?php $this->widget('widgets.Content.ArticleMenu'); ?>
        </div>
        <div class="main-content__left">
            <div class="news-description">
                <h1 class="global-small-title"><?php echo $model['page_title']; ?></h1>
                <span class="global-date"><?php echo date('d.m.Y', $model['page_date']); ?></span>
                <div class="photo">
                    <img alt="photo" src="<?php
                    $src = file_exists(Yii::app()->basePath . '/../images/articles/' . $model['page_title']) ? Yii::app()->request->baseUrl . '/images/articles/' . $model['page_title'] : Yii::app()->request->baseUrl . '/images/articles/no_photo.jpg';
                    echo $src;
                    ?>">
                </div>
<?php echo $model['page_full_content']; ?>
                <hr>
                <p>Вставка лайков</p>
            </div>  
        </div>  
    </div>   
</section>



<div class="global-popup" id="vacancy" style="display: none;">
    <div class="global-popup__description">
        <div class="global-popup__description__inner">
            <span class="global-popup__close">
                <span>Закрыть</span>
            </span>
            <h2 class="global-small-title">Отправка резюме</h2>

            <form method="post" action="/vacancy" id="one_click" enctype="multipart/form-data">     

                <fieldset>
                    <label class="required" for="VacancyForm_resume_FIO">Ф.И.О <span class="required">*</span></label>                            <div class="type-text row error">
                        <input type="text" id="VacancyForm_resume_FIO" name="VacancyForm[resume_FIO]">                            </div>
                    <div style="" id="VacancyForm_resume_FIO_em_" class="errorMessage">Необходимо заполнить поле «Ф.И.О».</div>                        </fieldset>

                <fieldset>
                    <label class="required" for="VacancyForm_resume_phone">Телефон <span class="required">*</span></label>                            <div class="type-text row error">
                        <input type="text" id="VacancyForm_resume_phone" name="VacancyForm[resume_phone]">                            </div>
                    <div style="" id="VacancyForm_resume_phone_em_" class="errorMessage">Необходимо заполнить поле «Телефон».</div>                        </fieldset>

                <fieldset>
                    <label class="required" for="VacancyForm_resume_email">Email <span class="required">*</span></label>                            <div class="type-text row error">
                        <input type="text" id="VacancyForm_resume_email" name="VacancyForm[resume_email]">                            </div>
                    <div style="" id="VacancyForm_resume_email_em_" class="errorMessage">Необходимо заполнить поле «Email».</div>                        </fieldset>

                <fieldset>
                    <label for="VacancyForm_resume_file">Ваше резюме</label>                            <div class="type-text row">
                        <input type="hidden" name="VacancyForm[resume_file]" value="" id="ytVacancyForm_resume_file"><input type="file" id="VacancyForm_resume_file" name="VacancyForm[resume_file]">                            </div>
                    <div style="display:none" id="VacancyForm_resume_file_em_" class="errorMessage"></div>                        </fieldset>

                <fieldset>
                    <input type="submit" value="Отправить" name="yt0" class="type-submit-bt">                        </fieldset>
            </form>                    </div>
    </div>
    <div class="global-popup__popup-overlay">&nbsp;</div>
</div>